

function getEnvParam() {
	if (process.env.NODE_ENV === 'development') {
		return {
			API: 'https://indoor.ipark.vip/api',
			APP_ID: 'wxeb3a8f95063782e0'
		}
	} else {
		return {
			API: 'https://indoor.ipark.vip/api', // 测试环境
			// API: 'https://gate.ipark.vip/api', // 正式环境
			APP_ID: 'wx9a73e62078ae3794'
		}
	}
}

const { API, APP_ID } = getEnvParam()

export {
	API,
	APP_ID
}